package com.chushouya.product.dto.api.brand;

import com.general.framework.core.schema.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @author CodeGenerator
 * @data 2022/05/29.
 */
@ApiModel("品牌查询")
@Data
public class BrandApiQuery extends PageRequest {
    @NotNull(message = "产品分类ID不能为空")
    @Range(min = 100000,max =100099, message = "取值范围100000-100099")
    @ApiModelProperty("分类ID")
    private Long categoryId;
}
